package dev.xesam.androidkit.utils;

import android.text.TextUtils;
import android.widget.TextView;

/**
 * Created by xe on 15-3-23.
 */
public final class TextViewUtil {
    public static String getTrim(TextView textView) {
        return textView.getText().toString().trim();
    }

    public static boolean isEmpty(TextView textView) {
        return TextUtils.isEmpty(textView.getText().toString());
    }
}
